package com.example.tse.rbhttpservice.service.common.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.common.model.CommonGetRegionList;
/**
* 获取省市区，默认获取省列表，
* @author wliu
* edit tse
*/
public class CommonGetRegionListResponse extends RudderResponse{

private List<CommonGetRegionList> getRegionList = new ArrayList<CommonGetRegionList>();


/**
* @return getRegionList
*/
public List<CommonGetRegionList> getGetRegionList() {
return this.getRegionList;
}

/**
* @return getRegionList
*/
public void setGetRegionList(List<CommonGetRegionList> getRegionList) {
this.getRegionList = getRegionList;
}
/**
methodName    GetRegionList
type          List<CommonGetRegionList>
name          getRegionList
defaultType   new ArrayList<CommonGetRegionList>()
*/

/**


    private static void filterFor(CommonGetRegionList common) {
        if (common.getRegionId() == null) {
            common.setRegionId("");
        }
        if (common.getRegionName() == null) {
            common.setRegionName("");
        }
    }

    public static void filter(CommonGetRegionListResponse common) {
        if (common.getGetRegionList() == null) {
            common.setGetRegionList(new ArrayList<CommonGetRegionList>());
        } else {
            for (CommonGetRegionList item : common.getGetRegionList()) {
                filterFor(item);
            }
        }
    }

*/

}
